import 'package:flutter/material.dart';

class Widget_RotatedBox_Page extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text("RotatedBox"),
        ),
        body: RotatedBox(
          quarterTurns: 2,
          child: Text("RotatedBox"),
        ),
      ),
    );
  }
}

/**
 *  旋转组件
 *   const RotatedBox({
    Key key,
    @required this.quarterTurns,//旋转的次数，每次旋转的度数只能是90度的整数倍
    Widget child,
    })
 */
